header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: .4rem;
    display: flex;
    justify-content: space-between;
    font-size: .5rem;
    color: #fff;
    background: #000;
    z-index: 10;
}
.publish h1 {
    flex: 1;
    text-align: center;
    font-size: .55rem;
}
.publish .back {
    flex: 1;
    position: absolute;
}
.publish .action {
    flex: 1;
    text-align: right
}
.back-btn::before {
    content: '';
    width: .35rem;
    height: .35rem;
    display: inline-block;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
    transform: rotate(-45deg)
}

main {
    padding: .3rem;
    margin-bottom: 1.8rem;
    margin-top: 1.5rem;
}
.upload {
    width: 2rem;
    height: 2rem;
    margin: .5rem;
}
.upload-btn {
    width: 100%;
    height: 100%;
    display: inline-block;
    position: relative;
    line-height: 30px;
    background-color: #f3f3f3;
    color: #404040;
    text-align: center;
    overflow: hidden;
}
.upload-btn:active {
    background-color: #e6e9ed;
}
.upload-btn h4 {
    color: #9b9b9b;
    font-size: 1.5rem;
    margin: .4rem 0 .3rem;
}
.upload-btn input {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    font-size: 2rem;
    cursor: pointer;
}
.upload label {
    font-size: .4rem;
}
.desc {
    font-size: .4rem;
}
.desc span {
    margin-left: .2rem;
    color: #cbcbcb;
}
.desc textarea {
    width: 100%;
    padding: .3rem;
    border: 1px solid #ccccdd;
    margin-top: .4rem;
    box-sizing: border-box;
}
.phone {
    font-size: .4rem;
    margin-top: .8rem;
}
.phone input {
    /* width: 100%; */
    padding: .4rem;
    border: 1px solid #ccccdd;
    margin-top: .4rem;
    box-sizing: border-box;
}
.phone .phoneno input {
    width: 100%;
}
.phone .code input:first-child {
    width: 68%;
}
.phone .code input:last-child {
    width: 30%;
    float: right;
    background: none;
}

footer {
    display: flex;
    width: 100%;
    position: fixed;
    bottom: 0;
    font-size: .45rem;
}
footer input {
    width: 50%;
    padding: .35rem;
}
.cancel-btn {
    background: #f2f2f2;
    color: #555;
}
.publish-btn {
    background: #ff552e;
    color: #fff;
}